import Vue from 'vue'
// import axios from 'axios'
export const overseas = {
  // 学生信息
  stuInfoListOut: params => {
    return Vue.prototype.$post('/xn/xsxx/list', params)
  },
  gjcStuInfoListOut: params => {
    return Vue.prototype.$post('/xn/xsxx/gjc/list', params)
  },
  stuInfoList: params => {
    return Vue.prototype.$post('/xn/xsxx/listUnconflict', params)
  },
  studentResume: params => { // 学生端学生信息
    return Vue.prototype.$get(`/xn/getResumes/${params}`)
  },
  studentFamily: params => { // 学生端学生信息
    return Vue.prototype.$get(`/xn/getFamillys/${params}`)
  },
  stuInfo: params => {
    return Vue.prototype.$get(`/xn/xsxx/info/${params}`)
  },
  stuInfo1: params => {
    return Vue.prototype.$get(`/xn/xsxx/studentInfo/${params}`)
  },
  getGndsList: params => {
    return Vue.prototype.$post('/xn/jzgxx/listTeacherAll', params)
  },
  hisStuInfoList: params => {
    return Vue.prototype.$post('/xn/xsxx/hisList', params)
  },
  stuAdd: params => {
    return Vue.prototype.$postJson('/xn/xsxx/add', params)
  },
  supplementBack: params => {
    return Vue.prototype.$post('/xn/xsxx/supplementBack', params)
  },
  supplementCheck: params => {
    return Vue.prototype.$post('/xn/xsxx/supplementCheck', params)
  },
  resetPasswdByStu: xh => { // 重置学生密码
    return Vue.prototype.$post(`/student/xn/resetPasswd/${xh}`)
  },
  resetPasswd4Jzgxx: xh => { // 重置学生密码
    return Vue.prototype.$post(`/xn/jzgxx/resetPasswd/${xh}`)
  },
  studentUpdate: params => { // 学生信息更新
    return Vue.prototype.$postJson(`/xn/xsxx/update`, params)
  },
  gjcSupplementCheck: params => {
    return Vue.prototype.$post('/xn/xsxx/gjc/supplementCheck', params)
  },
  uncheckedList: params => {
    return Vue.prototype.$post('/xn/xsxx/uncheckedList', params)
  },
  gjcUncheckedList: params => {
    return Vue.prototype.$post('/xn/xsxx/gjc/supplementList', params)
  },
  supplementList: params => {
    return Vue.prototype.$post('/xn/xsxx/supplementList', params)
  },
  addTeacher: params => { // 导师录入
    return Vue.prototype.$postJson('/xn/dsxx/add', params)
  },
  modifyTeacherInfo: params => { // 修改导师信息
    return Vue.prototype.$postJson('/xn/dsxx/update', params)
  },
  dsxxList: params => {
    return Vue.prototype.$post('/xn/dsxx/dsxxList', params)
  },
  dsxxListGjc: params => {
    return Vue.prototype.$post('/xn/dsxx/gjc/dsxxList', params)
  },
  teacherCheckList: params => { // 导师信息审核列表
    return Vue.prototype.$post('/xn/dsxx/dsshList', params)
  },
  teacherCheckListForGjc: params => { // 导师信息审核列表
    return Vue.prototype.$post('/xn/dsxx/gjc/dsshList', params)
  },
  teacherCheckInfo: params => { // 导师审核信息
    return Vue.prototype.$post('/xn/dsxx/shInfo', params)
  },
  teacherCheck: params => { // 导师信息审核
    return Vue.prototype.$post('/xn/dsxx/check', params)
  },
  xszssqxx: params => { // 导师信息审核
    return Vue.prototype.$post('/xn/xszssqxx/check', params)
  },
  teacherCheckGjc: params => { // 国际处导师信息审核
    return Vue.prototype.$post('/xn/dsxx/gjc/check', params)
  },
  deleteTeachers: params => { // 批量删除导师信息
    return Vue.prototype.$get(`/xn/dsxx/delete/${params}`)
  },
  issueContract: params => { // 发放聘书
    return Vue.prototype.$post('/xn/dsxx/issueContract', params)
  },
  zsztChage: id => { // 教职工信息
    return Vue.prototype.$post(`/xn/dsxx/zsztChange/${id}`)
  },
  batchStartToEnroll: params => { // 一键启用招生
    return Vue.prototype.$post('/xn/dsxx/batchStartToEnroll', params)
  },
  addProject: params => { // 添加项目
    return Vue.prototype.$postJson('/xn/dsxm/create', params)
  },
  projectList: params => { // 添加项目
    return Vue.prototype.$post('/xn/dsxm/list', params)
  },
  projectListGjc: params => { // 添加项目
    return Vue.prototype.$post('/xn/dsxm/gjc/list', params)
  },
  projectUncheckList: params => { // 导师信息审核列表
    return Vue.prototype.$post('/xn/dsxm/list/uncheck', params)
  },
  projectCheckList: params => { // 导师信息审核列表
    return Vue.prototype.$post('/xn/dsxm/dsxmList', params)
  },
  projectInfo: params => { // 项目信息
    return Vue.prototype.$post(`/xn/dsxm/info/${params}`)
  },
  projectCheck: params => { // 项目信息审核
    return Vue.prototype.$postJson('/xn/dsxm/check', params)
  },
  projectGJCUncheckList: params => { // 导师信息审核列表
    return Vue.prototype.$post('/xn/dsxm/gjc/list/uncheck', params)
  },
  projectGJCCheck: params => { // 项目信息审核
    return Vue.prototype.$postJson('/xn/dsxm/gjc/check', params)
  },
  projectBack: params => { // 项目信息
    return Vue.prototype.$post(`/xn/dsxm/back/${params}`)
  },
  teacherInfo: params => { // 导师信息
    return Vue.prototype.$post('/xn/dsxx/info', params)
  },
  //住宿
  dormInfoList: params => {
    return Vue.prototype.$post('/xn/xsxx/dormList', params)
  },
  dormInfoListGjc: params => {
    return Vue.prototype.$post('/xn/xsxx/gjc/dormList', params)
  },
  unCheckDormInfoList: params => {
    return Vue.prototype.$post('xn/xszssqxx/yxUncheckList', params)
  },
  unCheckDormInfoListGjc: params => {//国际处住宿审核
    return Vue.prototype.$post('xn/xszssqxx/gjc/uncheckList', params)
  },
  wsCheck: params => {
    return Vue.prototype.$post('xn/xszssqxx/check', params)
  },
  wsCheckGjc: params => {//国际处住宿审核
    return Vue.prototype.$post('xn/xszssqxx/check', params)
  },
  paperList: params => {
    return Vue.prototype.$post('/xn/bsbylw/list', params)
  },
  paperListGjc: params => {
    return Vue.prototype.$post('/xn/bsbylw/gjc/list', params)
  },
  paperCheckList: params => { // 院系审核时论文信息表列表
    return Vue.prototype.$post('/xn/bsbylw/shList', params)
  },
  paperCheckListGjc: params => { // 院系审核时论文信息表列表
    return Vue.prototype.$post('/xn/bsbylw/gjc/shList', params)
  },
  paperDetail: id => {
    return Vue.prototype.$get(`/xn/bsbylw/info/${id}`)
  },
  paperCheck: params => {
    return Vue.prototype.$post('/xn/bsbylw/check', params)
  },
  paperCheckGjc: params => {
    return Vue.prototype.$post('/xn/bsbylw/gjc/check', params)
  },
  midTermList: params => {
    return Vue.prototype.$post('/xn/zqkhxx/list', params)
  },
  midTermListGjc: params => {
    return Vue.prototype.$post('/xn/zqkhxx/gjc/list', params)
  },
  midTermCheckList: params => {
    return Vue.prototype.$post('/xn/zqkhxx/yxshList', params)
  },
  midTermCheckListGjc: params => {
    return Vue.prototype.$post('/xn/zqkhxx/gjc/shList', params)
  },
  midTermCheck: params => {
    return Vue.prototype.$post('/xn/zqkhxx/yxsh', params)
  },
  midTermCheckGjc: params => {
    return Vue.prototype.$post('/xn/zqkhxx/gjc/check', params)
  },
  midTermDetail: xh => {
    return Vue.prototype.$get(`/xn/zqkhxx/info/${xh}`)
  },
  midTermStatis: params => {
    return Vue.prototype.$post('/xn/zqkhxx/zqkhtj', params)
  },
  zqkhxxDetail: id => {
    return Vue.prototype.$get(`/xn/zqkhxx/info/${id}`)
  },
}
